#ifndef __PROPERTY_DECODER_H_
#define __PROPERTY_DECODER_H_

#include "property_data.h"

#define PROPERTY_TYPE		(1)


int PropertyDecode(char* buff,unsigned short buff_sz, unsigned char params_pairs, unsigned char type);

int ActionDecode(char* buff,unsigned short buff_sz, unsigned char params_pairs);

int send_property_changed(unsigned int siid, unsigned int piid, property_value_t *newValue);

void property_value_new_string(property_value_t * thiz,const char *value);

void property_value_new_integer(property_value_t * thiz,int value);

void property_value_new_float(property_value_t * thiz,float value);

void property_value_new_boolean(property_value_t * thiz,bool value);

void property_value_new_double(property_value_t * thiz,float value);
#endif






